package db;


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Database {
    String url = "jdbc:mysql://localhost:3306/library";
    String username = "root";
    String password = "lang520520";
    public Connection conn;
    public void DB(){
        {
            try {
                conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/library", "root", "lang520520");
            } catch (SQLException e) {
                throw new RuntimeException(e);
            }
        }
    }
}